UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

OHS must deny all access by default when considering whether to serve a file.


Overview

Finding ID Version Rule ID IA Controls Severity
V-64629 OH12-1X-000195 SV-79119r1_rule Medium
Description
Part of securing OHS is allowing/denying access to the web server. Deciding on the manor the allow/deny rules are evaluated can turn what was once an allowable access into being blocked if the evaluation is reversed. By ordering the access as first deny and then allow, OHS will deny all access first and then look at the allow clauses to see who may access the server. By structuring the evaluation in this manner, a misconfiguration will more likely deny a valid user than allow an illegitimate user that may compromise the system.
STIG Date
Oracle HTTP Server 12.1.3 Security Technical Implementation Guide 2019-01-04

Details

Check Text ( C-65371r1_chk )
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS//httpd.conf with an editor.

2. Search for the "" directive within the OHS server configuration scope.

3. If the "Deny" directive within the "" directive is omitted or is set improperly, this is a finding.
Fix Text (F-70559r1_fix)
1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS//httpd.conf with an editor.

2. Search for the "" directive within the OHS server configuration scope.

3. Set the "Deny" directive within the "" directive to "from all", add the directive if it does not exist.